package com.jprocms.module.cms.constant;

import org.hibernate.validator.constraints.Length;

public class StaticPageConstants {

    /**
     * 栏目静态页路径
     */
    @Length(max = 100)
    public static String STATIC_FILE_RULE_CHANNEL = "/{channel_path}/index";
    /**
     * 文章静态页路径
     */
    @Length(max = 100)
    public static String STATIC_FILE_RULE_CONTENT = "/{channel_path}/{year}/{month}{day}/{content_id}";

    public static final String PATH_YEAR = "{year}";
    public static final String PATH_MONTH = "{month}";
    public static final String PATH_DAY = "{day}";

    public static final String PATH_PAGE = "{page}";
    public static final String PATH_CHANNEL_ID = "{channel_id}";
    public static final String PATH_CHANNEL_PATH = "{channel_path}";
    public static final String PATH_CONTENT_ID = "{content_id}";

}
